package com.gsm.phimhanhdong;

import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.text.Html;
import android.view.LayoutInflater;
import android.view.View;
import android.webkit.WebView;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.CompoundButton.OnCheckedChangeListener;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;

import com.androidquery.AQuery;

public class AlertDialogManager {
	
	private Context context;
	
	public AlertDialogManager(Context context){
		this.context = context;
	}
	
	public void showDialogWithItems(int messageId, String items[], DialogInterface.OnClickListener listener){
		AlertDialog.Builder builder = new AlertDialog.Builder(context);
		builder.setTitle(messageId);
		builder.setItems(items, listener);
		builder.show();
	}
	
}
